/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package testproject;

import java.util.ArrayList;
import java.util.List;
import java.util.Random;

/**
 *
 * @author David Santoso
 */
public class Main {

    public static void addChumbyNums(List<Integer> testList) {
        for (int i = 0; i < 1000000; i++) {
            //Random generator = new Random();
            //int r = generator.nextInt(1000);
            testList.add(i);
        }
        
        //System.out.println(testList);
    }
            
    public static void main(String[] args) {
        List<Integer> modifiedList = new myChumbyArrayList<Integer>();
        //List<Integer> normalList = new ArrayList<Integer>();
        
        addChumbyNums(modifiedList);
        //addChumbyNums(normalList);
        
    }

}

